﻿using System;
using System.Windows;
using System.Windows.Interactivity;
using System.Windows.Input;
using myLiveMesh.Views.WindowManager;
using System.Windows.Controls;

namespace myLiveMesh.Behavior.WindowManager
{
    public class windowBehavior : Behavior<FrameworkElement>
    {
        #region constructor
        public windowBehavior()
        {
        }
        #endregion

        protected override void OnAttached()
        {
            base.OnAttached();
        }

        protected override void OnDetaching()
        {
            base.OnDetaching();
        }

        public event MouseButtonEventHandler windowClick
        {
            add
            {
                this.AssociatedObject.MouseLeftButtonDown += value;
            }
            remove
            {
                this.AssociatedObject.MouseLeftButtonDown += value;
            }

        }
    }
}
